package com.jhhc.FloodForecast.Sensor.Dao;


import com.jhhc.FloodForecast.Sensor.Pojo.*;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BDMS_ST_SENSOR_BMapper {




    List<BDMS_ST_SENSOR_B> selectBySTCD(@Param("pid") Integer pid, @Param("stcd") String stcd);

    List<BDMS_ST_SENSOR_B> selectByPIDSTCD(@Param("pid") Integer pid, @Param("stcd") List<String> stcd);
    List<BDMS_ST_SENSOR_B> selectBySTCDS( @Param("stcd") List<String> stcd);
    List<BDMS_ST_SENSOR_B> selectByStcds( @Param("stcd") List<String> stcd);

    List<BDMS_ST_SENSOR_B> selectTwcByStcds( @Param("stcd") List<String> stcd);

    List<BDMS_ST_SENSOR_B> selectByPIDSTCD29(@Param("pid") Integer pid, @Param("stcd") List<String> stcd);


    List<BDMS_ST_SENSOR_B> selectByDataCodes(@Param("pid") Integer pid, @Param("dataCodes") List<String> dataCodes);

    List<BDMS_ST_SENSOR_B> selectByPID(@Param("pid") Integer pid);

    List<BDMS_ST_SENSOR_B> selectByPid(@Param("pid") Integer pid);


    List<BDMS_ST_SENSOR_B> selectNewsData(@Param("pid") Integer pid);

    BDMS_ST_SENSOR_B selectByStcd(@Param("stcd") String stcd);

    BDMS_ST_SENSOR_B selectOneByStcd(@Param("pid") Integer pid, @Param("stcd") String stcd);
    //站名
    //selectStnm
    BDMS_ST_SENSOR_B selectStnm(@Param("stcd") String stcd);

    //报表业务
    List<BDMS_ST_SENSOR_B> selectReportForms(@Param("stcd") List<String>  stcd);


    //查询
    List<BDMS_ST_SENSOR_B> selectRealTimeHydrologic29 (@Param("pid") Integer pid, @Param("stcd") List<String> stcd);

    //根据项目 id 获取所有的站码 去重；
    List<BDMS_ST_SENSOR_B> queryDisnetStcd(@Param("pid") Integer pid);


    List<BDMS_ST_SENSOR_B> getStationInfos(@Param("projectId") int projectId,
                                       @Param("sensorTypes") List<String> sensorTypes);

    List<BDMS_ST_SENSOR_B> tide(@Param("projectId") int projectId,
                                @Param("stcd") List<String> stcd);
}